Optimal. Leaf size=67 \[ \frac {1}{2} x^2 \left (a+b \tanh ^{-1}\left (c x^n\right )\right )-\frac {b c n x^{2+n} \, _2F_1\left (1,\frac {2+n}{2 n};\frac {1}{2} \left (3+\frac {2}{n}\right );c^2 x^{2 n}\right )}{2 (2+n)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 67, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {6037, 371}
\begin {gather*} \frac {1}{2} x^2 \left (a+b \tanh ^{-1}\left (c x^n\right )\right )-\frac {b c n x^{n+2} \, _2F_1\left (1,\frac {n+2}{2 n};\frac {1}{2} \left (3+\frac {2}{n}\right );c^2 x^{2 n}\right )}{2 (n+2)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 371
Rule 6037
Rubi steps
\begin {align*} \int x \left (a+b \tanh ^{-1}\left (c x^n\right )\right ) \, dx &=\frac {1}{2} x^2 \left (a+b \tanh ^{-1}\left (c x^n\right )\right )-\frac {1}{2} (b c n) \int \frac {x^{1+n}}{1-c^2 x^{2 n}} \, dx\\ &=\frac {1}{2} x^2 \left (a+b \tanh ^{-1}\left (c x^n\right )\right )-\frac {b c n x^{2+n} \, _2F_1\left (1,\frac {2+n}{2 n};\frac {1}{2} \left (3+\frac {2}{n}\right );c^2 x^{2 n}\right )}{2 (2+n)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 73, normalized size = 1.09 \begin {gather*} \frac {a x^2}{2}+\frac {1}{2} b x^2 \tanh ^{-1}\left (c x^n\right )-\frac {b c n x^{2+n} \, _2F_1\left (1,\frac {2+n}{2 n};1+\frac {2+n}{2 n};c^2 x^{2 n}\right )}{2 (2+n)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.01, size = 0, normalized size = 0.00 \[\int x \left (a +b \arctanh \left (c \,x^{n}\right )\right )\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x \left (a + b \operatorname {atanh}{\left (c x^{n} \right )}\right )\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x\,\left (a+b\,\mathrm {atanh}\left (c\,x^n\right )\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________